<%@ page language="java" import="java.util.*" pageEncoding="UTF-8"%>
<%@ taglib prefix="c" uri="http://java.sun.com/jsp/jstl/core"%>
<%@ taglib prefix="fmt" uri="http://java.sun.com/jsp/jstl/fmt"%>
<%@ taglib prefix="fn" uri="http://java.sun.com/jsp/jstl/functions"%>
<%@ taglib prefix="fns" uri="/WEB-INF/tlds/fns.tld"%>
<!DOCTYPE html>
<html>
	<head>
		<title>角色管理</title>
		<!-- 引入公用Js与Css -->
		<%@include file="/view/common/resource.jsp" %>
		<script src="<%=basePath%>/js/extends/sys.role.js" type="text/javascript"></script>
		
	</head>
	<body>
		<div id="wrap">
			<div class=" radius3 borderD pb15">
				<div class="clearfix mt15 mr10 ml10">
				<dl class="mt15 clearfix font12">
					<dd class="clearfix pt10 pull-left pl10">
							<div class="input-group input-group-sm w200">
					            <span class="input-group-addon">角色名称:</span>
					            <input type="text" class="form-control" id="roleName" name="roleName">
					        </div>
						</dd>
						<dd class="clearfix pt10 pull-left pl15">
							<button type="button" id="searchData" class="btn btn-default">查询</button>
						</dd>
					</dl>
					<div id="toolbar">
						<fns:hasPermission value="sys.role.handle">
							<button type="button" class="btn btn-default" onclick="add();">新增</button>
						</fns:hasPermission>
					</div>
					
					<fns:hasPermission value="sys.role.handle">
						<input type="hidden" id="sys_role_handle" value="1">
					</fns:hasPermission>
					<fns:hasPermission value="sys.role.allotMenu">
						<input type="hidden" id="sys_role_allotMenu" value="1">
					</fns:hasPermission>
					<fns:hasPermission value="sys.role.allotMember">
						<input type="hidden" id="sys_role_allotMember" value="1">
					</fns:hasPermission>
					<fns:hasPermission value="sys.role.handle">
						<input type="hidden" id="sys_role_handle" value="1">
					</fns:hasPermission>
					<table id="role_table"></table>
				</div>
			</div>
		</div>
	</body>
</html>
